#pragma once

#include "curve.h"

namespace g2 {

class arc : public curve {
public:
	arc(const vector & center, double radius, double start, double end);
public:
	virtual polyline flatten(double h) const;
	virtual vector center() const;
	virtual box bounds() const;
	virtual void translate(const vector &);
	virtual void rotate(const vector & center, double angle);
private:
	vector	_center;
	double	_radius;
	double	_start;
	double	_end;
};

} // g2
